<extend name="Application/Admin/View/Layout/application.html"/>

<block name="css">
    <style>
        #page2 {
            display: none;
        }
    </style>
</block>


<block name="content">
    <div class="row">
        <div class="col-md-12">

            <div class="row">
                <div class="col-md-8">
                    <div class="page-header">
                        <h1>文件管理</h1>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-md-10">
                    <div class="panel panel-default">
                        <div class="panel-heading">文件管理</div>

                        <div class="panel-body">

                            <form class="form-horizontal" action="{{:U('store', array('path'=>$path))}}" method="post">
                                <div class="form-group">
                                    <label  class="col-sm-2 control-label">文件名</label>
                                    <div class="col-sm-10">
                                        <input type="text" class="form-control" id="exampleInputEmail1"
                                               placeholder="文件名" value="" name="filename">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label  class="col-sm-2 control-label">文件内容</label>
                                    <div class="col-sm-10">
                                        <textarea class="form-control" rows="20" name="content"></textarea>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <button type="submit" class="btn btn-primary">保 存</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>



</block>

